package com.rc.saas.tenant.mapper.member;

import com.rc.saas.tenant.common.base.BaseMapper;
import com.rc.saas.tenant.model.member.RcMemberGainSetting;
import com.rc.saas.tenant.model.member.RcMemberGainSettingExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RcMemberGainSettingMapper extends BaseMapper<Long, RcMemberGainSetting, RcMemberGainSettingExample> {

    List<RcMemberGainSetting> listMemberGain(@Param("gainName") String gainName, @Param("sublevel") String sublevel);

    int insertReturnId(RcMemberGainSetting memberGainSetting);

    List<RcMemberGainSetting> listAvailableMemberGain(String sublevel);

}
